module branch_wrapper(
  input [30:0] ex1_in_bundle,
  input [30:0] wb_in_bundle,
  output [30:0] out_bundle
);

wire ex1_branch_i;
wire [31:2] ex1_branch_dest_i;

wire wb_branch_i;
wire [31:2] wb_branch_dest_i;

wire branch_o;
wire [31:2] branch_dest_o;

assign {ex1_branch_i,ex1_branch_dest_i} = ex1_in_bundle;
assign {wb_branch_i,wb_branch_dest_i} = wb_in_bundle;
assign out_bundle = {branch_o,branch_dest_o};

branch u_branch(
  .i_ex1_branch(ex1_branch_i),
  .i_ex1_branch_dest(ex1_branch_dest_i),
  .i_wb_branch(wb_branch_i),
  .i_wb_branch_dest(wb_branch_dest_i),
  .o_branch(branch_o),
  .o_branch_dest(branch_dest_o)
);

endmodule
